//搜索使用的实体
export const auditProcessSearchEntity = {
  processType: "ALL",
  processName: "",
};

//渲染表格的审核流程格式对象
export const auditProcessForm = [
  { title: "流程名称", name: "processName", width: "380" },
  { title: "版本号", name: "version", width: "380" },
  { title: "流程KEY", name: "key", width: "380" },
  { title: "部署时间", name: "deploymentTime", width: "380" },
  { title: "流程图", name: "svg", width: "400" },
];

//发布流程实体类
export const auditProcessPublishEntity = {
  processType: "PUBLIC_TYPE", //流程类型
  processName: "", //流程名称
  deploymentId:"",//原始部署流程的ID
};
//发布流程实例校验
export const auditProcessPublishEntityRles = {
  processType: [
    {
      message: "流程类型不允许为空",
      required: true,
      trigger: "blur",
    },
  ],
  processName: [
    {
      message: "流程名称不允许为空",
      required: true,
      trigger: "blur",
    },
  ],
};
